<?php
include dirname(dirname(dirname(dirname(__FILE__)))).'/include/user-verify.php';
include dirname(dirname(__FILE__)).'/functions.php';

if(!isset($_GET['year'])||!isset($_GET['month'])) {
	exit();
} else {
	$year = addslashes($_GET['year']);
	$month = addslashes($_GET['month']);
	$work_time = getWorkTime($_SESSION['user_id']);
	if(isset($work_time[$year][$month])) {
		echo $work_time[$year][$month];
	}
	else echo 'no';
	exit();
}
